package com.golf.client.ui;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;

/**
 * A helper class that implements all the required methods for capturing mouse events as
 * empty blocks. This allows overriding classes to more selectively choose the methods they
 * need but still allow use as mouse event listeners.
 * 
 * @author gfloodgate
 */
public abstract class MouseEventsAdaptor implements MouseListener, MouseMotionListener, MouseWheelListener 
{
	
	/**
	 * {@inheritDoc}
	 */
	public void mouseMoved(final MouseEvent e) 
	{
		// Do nothing.
	}
	
	
	/**
	 * {@inheritDoc}
	 */
	public void mouseClicked(final MouseEvent e) 
	{
		// Do nothing.
	}
	
	
	/**
	 * {@inheritDoc}
	 */
	public void mouseDragged(final MouseEvent e) 
	{
		// Do nothing.
	}
	
	
	/**
	 * {@inheritDoc}
	 */
	public void mouseWheelMoved(final MouseWheelEvent e) 
	{
		// Do nothing.
	}

	
	/**
	 * {@inheritDoc}
	 */
	public void mouseEntered(final MouseEvent e) 
	{
		// Do nothing.
	}

	
	/**
	 * {@inheritDoc}
	 */
	public void mouseExited(final MouseEvent e) 
	{
		// Do nothing.
	}

	
	/**
	 * {@inheritDoc}
	 */
	public void mousePressed(final MouseEvent e) 
	{
		// Do nothing.
	}

	
	/**
	 * {@inheritDoc}
	 */
	public void mouseReleased(final MouseEvent e) 
	{
		// Do nothing.
	}

}
